<?php
/**
 * Created by PhpStorm.
 * User: Edik
 * Date: 2016/3/2
 * Time: 14:50
 */

namespace Home\Controller;


use Admin\Model\AboutModel;

class AboutController extends BaseController
{
    function index(){

        $id = I('get.id',1);

        $model = new AboutModel();

        $this->assign('a',$model->find($id));
        $this->assign("id", $id);
        $this->assign("menu", "about");
        $this->display();
    }

}